package com.nuc.bigdata.enums;

import lombok.Getter;

/**
 * @author JackLuo
 * @date 2019/10/22
 */
@Getter
public enum UserRoleEnum {
    /**
     * 0为管理员角色
     * 1是普通用户角色
     */
    ADMIN(0L,"admin"),
    USER(1L,"user"),
    ;

    private Long roleNumber;
    private String roleMsg;

    UserRoleEnum(Long roleNumber, String roleMsg) {
        this.roleNumber = roleNumber;
        this.roleMsg = roleMsg;
    }
}
